import {request} from "./request"

export function getCategoryList() {
    return request({
        url: '/category'
    })
}

export function getCategoryDetail(maitKey) {
    return request({
        url: '/subcategory',
        params: {
            maitKey
        }
    })
}

export function getSubCategoryDetail(miniWallkey,type) {
    return request({
      url: '/subcategory/detail',
      params: {
        miniWallkey,
        type
      }
    })
  }
